/*
 * @Author: 孙开源 && sunkaiyuan@namenode.cn
 * @Date: 2023-05-08 22:01:33
 * @LastEditors: 孙开源 && sunkaiyuan@namenode.cn
 * @LastEditTime: 2023-09-27 13:11:12
 * @Description:
 *
 */
import config from "@/config";

export default {
	customerStorage: {
		barcode: {
			url: `${config.API_URL}/market/customerStorage/barcode`,
			name: "获取条码",
		},
		saveBarcode: {
			url: `${config.API_URL}/market/customerStorage/saveBarcode`,
			name: "保存条码",
		},
		saveStyle: {
			url: `${config.API_URL}/market/customerStorage/saveStyle`,
			name: "订单主单",
		},
		getStyle: {
			url: `${config.API_URL}/market/customerStorage/getStyle`,
			name: "订单主单",
		},
		list: {
			url: `${config.API_URL}/market/customerStorage/list`,
			name: "订单主单",
		},
		save: {
			url: `${config.API_URL}/market/customerStorage/save`,
			name: "保存订单",
		},
		delete: {
			url: `${config.API_URL}/market/customerStorage/delete`,
			name: "删除订单",
		},
		details: {
			url: `${config.API_URL}/market/customerStorage/details`,
			name: "订单明细",
		},
		pack: {
			url: `${config.API_URL}/market/customerStorage/pack`,
			name: "检验明细",
		},
		packsave: {
			url: `${config.API_URL}/market/customerStorage/packsave`,
			name: "保存检验明细",
		},

	},
	order: {
		list: {
			url: `${config.API_URL}/market/order/list`,
			name: "订单主单",
		},
		details: {
			url: `${config.API_URL}/market/order/details`,
			name: "订单明细",
		},
		save: {
			url: `${config.API_URL}/market/order/save`,
			name: "保存订单",
		},
		delete: {
			url: `${config.API_URL}/market/order/delete`,
			name: "删除订单",
		},
		audit: {
			url: `${config.API_URL}/market/order/audit`,
			name: "审核订单",
		},
		noaudit: {
			url: `${config.API_URL}/market/order/noaudit`,
			name: "反审核订单",
		},
	},
	offer: {
		list: {
			url: `${config.API_URL}/market/offer/list`,
			name: "报价主单",
		},
		mateOffer: {
			url: `${config.API_URL}/market/offer/mateOffer`,
			name: "匹配报价",
		},
		materiallist: {
			url: `${config.API_URL}/market/offer/materiallist`,
			name: "部门产品报价单",
		},
		role: {
			url: `${config.API_URL}/market/offer/role`,
			name: "报价优惠规则明细",
		},
		promotion: {
			url: `${config.API_URL}/market/offer/promotion`,
			name: "报价优惠明细",
		},
		savepromotion: {
			url: `${config.API_URL}/market/offer/savepromotion`,
			name: "保存优惠",
		},
		save: {
			url: `${config.API_URL}/market/offer/save`,
			name: "保存报价",
		},

		delete: {
			url: `${config.API_URL}/market/offer/delete`,
			name: "删除报价",
		},
		audit: {
			url: `${config.API_URL}/market/offer/audit`,
			name: "审核报价",
		},
		noaudit: {
			url: `${config.API_URL}/market/offer/noaudit`,
			name: "反审核报价",
		},
	},
	backwarehouse: {
		list: {
			url: `${config.API_URL}/market/backwarehouse/list`,
			name: "订单主单",
		},
		details: {
			url: `${config.API_URL}/market/backwarehouse/details`,
			name: "订单明细",
		},
		detailsall: {
			url: `${config.API_URL}/market/backwarehouse/detailsall`,
			name: "订单明细",
		},
		save: {
			url: `${config.API_URL}/market/backwarehouse/save`,
			name: "保存订单",
		},
		delete: {
			url: `${config.API_URL}/market/backwarehouse/delete`,
			name: "删除订单",
		},
		audit: {
			url: `${config.API_URL}/market/backwarehouse/audit`,
			name: "审核订单",
		},
		noaudit: {
			url: `${config.API_URL}/market/backwarehouse/noaudit`,
			name: "反审核订单",
		},
		uploadAttachment: {
			url: `${config.API_URL}/market/backwarehouse/uploadAttachment`,
			name: "反审核订单",
		},
		setItems: {
			url: `${config.API_URL}/market/backwarehouse/setItems`,
			name: "草稿",
		},
		deleteItems: {
			url: `${config.API_URL}/market/backwarehouse/deleteItems`,
			name: "草稿",
		},
		deletePack: {
			url: `${config.API_URL}/market/backwarehouse/deletePack`,
			name: "草稿",
		},
		info: {
			url: `${config.API_URL}/market/backwarehouse/info`,
			name: "草稿",
		},
		deleveryinfo: {
			url: `${config.API_URL}/market/backwarehouse/deleveryinfo`,
			name: "草稿",
		},
		pack: {
			url: `${config.API_URL}/market/backwarehouse/pack`,
			name: "草稿",
		}
	},
	delivery: {
		list: {
			url: `${config.API_URL}/market/delivery/list`,
			name: "订单主单",
		},
		details: {
			url: `${config.API_URL}/market/delivery/details`,
			name: "订单明细",
		},
		detailsall: {
			url: `${config.API_URL}/market/delivery/detailsall`,
			name: "订单明细",
		},
		save: {
			url: `${config.API_URL}/market/delivery/save`,
			name: "保存订单",
		},
		saveAndFinace: {
			url: `${config.API_URL}/market/delivery/saveAndFinace`,
			name: "保存订单",
		},
		delete: {
			url: `${config.API_URL}/market/delivery/delete`,
			name: "删除订单",
		},
		audit: {
			url: `${config.API_URL}/market/delivery/audit`,
			name: "审核订单",
		},
		noaudit: {
			url: `${config.API_URL}/market/delivery/noaudit`,
			name: "反审核订单",
		},
		uploadAttachment: {
			url: `${config.API_URL}/market/delivery/uploadAttachment`,
			name: "反审核订单",
		},
		setItems: {
			url: `${config.API_URL}/market/delivery/setItems`,
			name: "草稿",
		},
		deleteItems: {
			url: `${config.API_URL}/market/delivery/deleteItems`,
			name: "草稿",
		},
		deletePack: {
			url: `${config.API_URL}/market/delivery/deletePack`,
			name: "草稿",
		},
		info: {
			url: `${config.API_URL}/market/delivery/info`,
			name: "草稿",
		},
		deleveryinfo: {
			url: `${config.API_URL}/market/delivery/deleveryinfo`,
			name: "草稿",
		},
		pack: {
			url: `${config.API_URL}/market/delivery/pack`,
			name: "草稿",
		}
	},
	customer_complaint: {
		details: {
			url: `${config.API_URL}/market/customerComplaint/details`,
			name: "订单明细",
		},
		save: {
			url: `${config.API_URL}/market/customerComplaint/save`,
			name: "保存订单",
		},
		delete: {
			url: `${config.API_URL}/market/customerComplaint/delete`,
			name: "删除订单",
		},
	},
	complaint: {
		list: {
			url: `${config.API_URL}/market/complaint/list`,
			name: "订单主单",
		},
		details: {
			url: `${config.API_URL}/market/complaint/details`,
			name: "订单明细",
		},
		save: {
			url: `${config.API_URL}/market/complaint/save`,
			name: "保存订单",
		},
		delete: {
			url: `${config.API_URL}/market/complaint/delete`,
			name: "删除订单",
		},
		audit: {
			url: `${config.API_URL}/market/complaint/audit`,
			name: "审核订单",
		},
		noaudit: {
			url: `${config.API_URL}/market/complaint/noaudit`,
			name: "反审核订单",
		},
		faudit: {
			url: `${config.API_URL}/market/complaint/faudit`,
			name: "反审核订单",
		},
	},
};
